-- || Created by Unlimited

BanSys = inherit(Singleton)

function BanSys:constructor()
	self.m_Data = {}
end

function BanSys:isBanned(plr)
	local result, num_rows = mysql:query("SELECT * FROM ban WHERE Name = ?", getPlayerName(plr))
	if num_rows == 1 then
		return true
	end
	return false
end

function BanSys:destructor()
	
end